package cn.com.oceansoft.business.danger.persistence;

import cn.com.oceansoft.business.base.entity.Query;
import cn.com.oceansoft.business.danger.entity.Attach;
import cn.com.oceansoft.business.danger.entity.Wzzj;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * Created by OS on 2018/5/18.
 */

@Repository
public interface IWzzjMapper {
    List<Wzzj> getWzzjList(Query query);
    void addWzzj(Wzzj wzzj);
    Wzzj findWzzjById(String id);
    void editWzzj(Wzzj wzzj);
    void deleteWzzj(String id);
    List<Attach> findAttachList(Attach attach);
    void deletePic(String id);
}
